package com.hixtrip.sample.domain.order.repository;

import com.hixtrip.sample.domain.order.model.Order;
import com.hixtrip.sample.domain.pay.model.CommandPay;
import org.springframework.stereotype.Component;

/**
 *
 */
@Component
public interface OrderRepository {
    String createOrder(Order order);
    void orderPaySuccess(CommandPay commandPay);
    void orderPayFail(CommandPay commandPay);
}
